Named Components (Script v2)

Component objects allow access to Named Components in the design. Names are given to components by typing on their component blocks (unique, non-default names). The returned value is a table of all controls inn that component

Example

-- assuming 2 gain components, one called 'gain a' and the

-- other called 'gain b'

gainA = Component.New("gain a")

gainB = Component.New("gain b")

-- In this case we are watching the gain of 'gain a' and

-- muting 'gain b' if 'gain a' goes above 0 dB.

gainA.gain.EventHandler = function( ctl )

if gainA.gain.Value > 0 then

gainB.mute.Boolean = true

else

gainB.mute.Boolean = false

end

end


 

© 2009 - 2016 QSC, LLC. All rights reserved. QSC and the QSC logo are trademarks of QSC, LLC in the U.S. Patent and Trademark office and other countries. All other trademarks are the property of their respective owners.

http://patents.qsc.com.